﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="EstiloImagenShow.ascx.cs" Inherits="Emporium_Web.Controls.EstiloImagenShow" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>

<asp:UpdatePanel ID= "images" runat="server">
<ContentTemplate>
<asp:Button ID="btnTarget" style="display:none" runat="server" Text="Button" />

<asp:Panel ID="ModalPanelEstiloImagenShow" runat="server" Width="430px" Height="500px" BackColor="White" Style="display: none">
<div>
    <article class="container_12">
		<section class="grid_12">
			<div class="block-border">
                    <asp:Image ID="imgImagen" runat = "server" Width ="400px" Height="400px" Visible="false"/>

				    <!-- footer para cerrar el estilo bien-->
				    <div align="left" style="width:100%; float:inherit; vertical-align:middle;">
                    <br />
                    <asp:Button ID="btnAnterior" runat="server" Text="Anterior" CssClass="button" 
                            CausesValidation ="false" onclick="btnAnterior_Click"/>
                    <asp:Button ID="btnSiguiente" runat="server" Text="Siguiente" CssClass="button" 
                            CausesValidation ="false" onclick="btnSiguiente_Click"/>
                    <asp:Button ID="btnCancelar" runat="server" Text="Cancelar" CssClass="button"  />

				</div>
			</div>
		</section>
    </article>
</div>
</asp:Panel>

<ajaxToolkit:ModalPopupExtender ID="mpeImagenUpLoad" runat="server" TargetControlID="btnTarget" CancelControlID = "btnCancelar"
  PopupControlID="ModalPanelEstiloImagenShow" BackgroundCssClass = "modalBackgroundDiv" DropShadow = "true"/>

</ContentTemplate>
</asp:UpdatePanel>